﻿using MgSoft.K3Cloud.WebApi.Common.Dto.Property;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace MgSoft.K3Cloud.WebApi.Common.Dto.Bd
{
    /// <summary>
    /// 
    /// </summary>
    public class Bd_UnitSaveInputDto
    {
        /// <summary>
        /// 实体主键
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public virtual long? FUNITID { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public virtual string FNumber { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public virtual string FName { get; set; }
        /// <summary>
        ///  所属组别
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public virtual FNumberProperty FUnitGroupId { get; set; }
        /// <summary>
        /// 精度
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public virtual decimal FPrecision { get; set; }
        /// <summary>
        /// 舍入类型
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public virtual string FRoundType { get; set; }
        /// <summary>
        /// 转换率
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public virtual Subheadentity SubHeadEntity { get; set; }
    }
    /// <summary>
    /// 转换率
    /// </summary>
    public class Subheadentity
    {
        /// <summary>
        /// 实体主键
        /// </summary>
        public virtual long? FUNITCONVERTRATEID { get; set; }
        /// <summary>
        /// 换算类型
        /// </summary>
        public virtual string FConvertType { get; set; }
        /// <summary>
        ///  换算分子
        /// </summary>
        public virtual decimal FConvertNumerator { get; set; }
        /// <summary>
        /// 换算分母
        /// </summary>
        public virtual decimal FConvertDenominator { get; set; }
    }




}
